package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 用户优惠券关系查询对象
 */
public class UserCouponQuery extends BaseQuery {


    public Date startAddTime;//开始添加时间
    public Date endAddTime;//结束添加时间
    public Date startUpdateTime;//开始添加时间
    public Date endUpdateTime;//结束添加时间
    public Integer state;// 状态（0未使用，1已使用）
    public Boolean enabled;// 是否可用
    public Integer couponId;//优惠券ID
    public Integer userId;//用户ID

    public UserCouponQuery() {
    }

    public UserCouponQuery(Boolean enabled) {
        this.enabled = enabled;
    }

    public UserCouponQuery(Integer userId, Integer state) {
        this.userId = userId;
        this.state = state;
    }

    public UserCouponQuery(Integer couponId, Integer userId, Integer state, Boolean enabled) {
        this.couponId = couponId;
        this.userId = userId;
        this.state = state;
        this.enabled = enabled;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public Date getStartUpdateTime() {
        return startUpdateTime;
    }

    public void setStartUpdateTime(Date startUpdateTime) {
        this.startUpdateTime = startUpdateTime;
    }

    public Date getEndUpdateTime() {
        return endUpdateTime;
    }

    public void setEndUpdateTime(Date endUpdateTime) {
        this.endUpdateTime = endUpdateTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}